<template>
	<div>
		<el-container class="container">
			<el-aside width="200px"><WyMenu></WyMenu></el-aside>
			<el-container>
				<el-header><common-header></common-header></el-header>
				<TabComponent></TabComponent>
				<el-main class="el-main"><router-view /></el-main>
			</el-container>
		</el-container>
	</div>
</template>

<script>
import WyMenu from '@/components/wyMenu';
import TabComponent from '@/components/TabComponent';
import CommonHeader from '@/components/CommonHeader';
export default {
	name: 'HelloWorld',
	components: {
		WyMenu,
		TabComponent,
		CommonHeader
	},
	methods: {
		exit() {
			//退出登录，清空token
			localStorage.removeItem('Token');
			this.$router.push('/login');
		}
	}
};
</script>

<style scoped>
.container{
	height: 100vh;
}

.el-header {
	background-color: #0c64eb;
}
.el-main {
	padding-top: 0;
}
</style>
